export default {
    cartLength(state) {
        return state.cartList.length
    },
    cartList(state) {
        return state.cartList
    },
    cartCheckCount(state) {
        return state.cartList.filter(item => {
            return item.checked === true
        }).length
    }
}